package com.manage.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.manage.entity.Course;


public interface ICourseService {
	public void saveOrUpdate(Course course);
	public void delete(Long id);
	public void delete(List<Long> ids);
	
	public Course findOne(Long id);
	public List<Course> findAll();
	//动态条件查询
	public Page<Course> findAll(Specification<Course> spec, Pageable pageable);
	

}
